<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="cf" uri="customfunctions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<c:set var="projectTitle" value="华夏快线电子客票" />
<c:set var="appVer" value="${constant.appver_hx}"/>
<c:choose>
  <c:when test="${not empty param.ver }">
    <c:set var="projectTitle" value="${cf:pageTitle(param.ver) }" />
    <c:set var="appVer" value="${param.ver }"/>
  </c:when>
  <c:otherwise>
    <c:if test="${not empty cookie.app_version.value}">
      <c:set var="projectTitle" value="${cf:pageTitle(cookie.app_version.value) }" />
      <c:set var="appVer" value="${cookie.app_version.value }" />
    </c:if>
  </c:otherwise>
</c:choose>
<c:set var="main_css_version" value="${cf:fileMD5(pageContext.request, '/css/main.css')}" />
<c:set var="layout_css_version" value="${cf:fileMD5(pageContext.request, '/css/layout.css')}" />
<c:set var="jquery_min_version" value="${cf:fileMD5(pageContext.request, '/js/jquery.min.js')}" />
<c:set var="swipe_min_version" value="${cf:fileMD5(pageContext.request, '/js/jquery.touchSwipe.min.js')}" />
<c:set var="custom_version" value="${cf:fileMD5(pageContext.request, '/js/custom.js')}" />
<c:if test="${cf:isExistsFile(pageContext.request, '/js/custom.min.js')}">
<c:set var="custom_min_version" value="${cf:fileMD5(pageContext.request, '/js/custom.min.js')}" />
</c:if>